<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>StatSVN - Directory HibernateMapping/src/it/polito/ai/lhmf/orm/</title>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <meta name="Generator" content="StatSVN 0.7.0"/>
<link rel="stylesheet" href="objectlab-statcvs.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&#38;login=statsvn&#38;apiKey=R_2c362b417d0517c27876cbaca1bb68cc"></script>
<script type="text/javascript" charset="utf-8">
   // wait until page is loaded to call API
   var redir_url;
   var short_url;
   BitlyCB.myShortenCallback = function(data) {
      // this is how to get a result of shortening a single url
      var result;
      short_url=null;
      for (var r in data.results) {
         result = data.results[r];
         result['longUrl'] = r;
         short_url = result['shortUrl'];
         break;
      }
      if (short_url==null) // bit.ly failed
      document.location=redir_url;
      else
      redirToTwitter();
   };
   function shortenTweet(url) {
      if (short_url == null || redir_url!=url) {
      redir_url = url;
      BitlyClient.shorten(document.location, 'BitlyCB.myShortenCallback');
      }
      else
      redirToTwitter();
      return false;
   }
   function redirToTwitter() { 
      // replace {0} which is visible as %7B0} in the link
      document.location = redir_url.replace('%7B0}', short_url);
   }
</script>
  </head>

<body>

<h1>Directory HibernateMapping/src/it/polito/ai/lhmf/orm/</h1>
<div id="parentlink">&#171; <a href="index.html">Development Statistics for /trunk</a></div>
<dl class="attributes">
    <dt>Directory Created:</dt>
    <dd><span class="date">2012-06-08 19:00</span></dd>
    <dt>Total Files:</dt>
    <dd>13</dd>
    <dt>Deleted Files:</dt>
    <dd>0</dd>
    <dt>Lines of Code:</dt>
    <dd>1649</dd>
</dl>
<p class="dirtree">
<a href="dir.html">[root]</a>/<a href="dir_HibernateMapping.html">HibernateMapping</a>/<a href="dir_HibernateMapping_src.html">src</a>/<a href="dir_HibernateMapping_src_it.html">it</a>/<a href="dir_HibernateMapping_src_it_polito.html">polito</a>/<a href="dir_HibernateMapping_src_it_polito_ai.html">ai</a>/<a href="dir_HibernateMapping_src_it_polito_ai_lhmf.html">lhmf</a>/<strong>orm</strong><br/>
</p>

<div class="section">
<h2>Lines of Code</h2>
<p class="chart"><img src="loc_module_HibernateMapping_src_it_polito_ai_lhmf_orm.png" alt="HibernateMapping/src/it/polito/ai/lhmf/orm/ Lines of Code" width="800" height="500" /></p></div>
<div class="section">
<h2>Developers</h2>
  <table  rules="groups" summary="All authors and the number of their changes and lines of code in this directory">
    <colgroup align="left"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <thead>
      <tr>
        <th>Author</th>
        <th>Changes</th>
        <th>Lines of Code</th>
        <th>Lines per Change</th>
      </tr>
    </thead>
    <tbody>
      <tr  class="odd">
        <th><a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a></th>
        <td>65 (100.0%)</td>
        <td>2211 (100.0%)</td>
        <td>34.0</td>
      </tr>
    </tbody>
  </table>

</div>
<div class="section">
<h2>Most Recent Commits</h2>
<dl class="commitlist">
  <dt><a name="5"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-07-25 12:24</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">179</span></span>
  </dt>
  <dd>
    <p class="comment">
mapping completato e riportato nel progetto principale
    </p>
    <p class="commitdetails"><strong>50</strong> lines of code changed in <span class="files">13 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>HibernateMapping/src/it/polito/ai/lhmf/orm</strong>:
        Log.java&#160;<span class="change">(+1&#160;-1)</span>,
        Member.java&#160;<span class="change">(+1&#160;-1)</span>,
        MemberStatus.java&#160;<span class="change">(+1&#160;-1)</span>,
        MemberType.java&#160;<span class="change">(+1&#160;-1)</span>,
        Message.java&#160;<span class="change">(+1&#160;-1)</span>,
        Notify.java&#160;<span class="change">(+6&#160;-14)</span>,
        Order.java&#160;<span class="change">(+1&#160;-1)</span>,
        Product.java&#160;<span class="change">(+20&#160;-20)</span>,
        ProductCategory.java&#160;<span class="change">(+1&#160;-1)</span>,
        Purchase.java&#160;<span class="change">(+1&#160;-1)</span>,
        PurchaseProduct.java&#160;<span class="change">(+1&#160;-1)</span>,
        PurchaseProductId.java&#160;<span class="change">(+1&#160;-1)</span>,
        Supplier.java&#160;<span class="change">(+14&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="4"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-07-24 21:26</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">176</span></span>
  </dt>
  <dd>
    <p class="comment">
HibernateMapping: rifatto il mapping, da riportare nel progetto principale
    </p>
    <p class="commitdetails"><strong>46</strong> lines of code changed in <span class="files">13 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>HibernateMapping/src/it/polito/ai/lhmf/orm</strong>:
        Log.java&#160;<span class="change">(+1&#160;-1)</span>,
        Member.java&#160;<span class="change">(+1&#160;-1)</span>,
        MemberStatus.java&#160;<span class="change">(+1&#160;-1)</span>,
        MemberType.java&#160;<span class="change">(+1&#160;-1)</span>,
        Message.java&#160;<span class="change">(+1&#160;-1)</span>,
        Notify.java&#160;<span class="change">(+1&#160;-1)</span>,
        Order.java&#160;<span class="change">(+19&#160;-18)</span>,
        Product.java&#160;<span class="change">(+1&#160;-1)</span>,
        ProductCategory.java&#160;<span class="change">(+1&#160;-1)</span>,
        Purchase.java&#160;<span class="change">(+1&#160;-1)</span>,
        PurchaseProduct.java&#160;<span class="change">(+1&#160;-1)</span>,
        PurchaseProductId.java&#160;<span class="change">(+1&#160;-1)</span>,
        Supplier.java&#160;<span class="change">(+16&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="3"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-07-24 20:55</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">174</span></span>
  </dt>
  <dd>
    <p class="comment">
database: ripristinato collegamento tra supplierr e member per responsabile.<br />
<br />
HibernateMapping: rifatto il mapping, ancora da riportare nel progetto principale
    </p>
    <p class="commitdetails"><strong>322</strong> lines of code changed in <span class="files">13 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>HibernateMapping/src/it/polito/ai/lhmf/orm</strong>:
        Log.java&#160;<span class="change">(+2&#160;-6)</span>,
        Member.java&#160;<span class="change">(+53&#160;-44)</span>,
        MemberStatus.java&#160;<span class="change">(+6&#160;-10)</span>,
        MemberType.java&#160;<span class="change">(+6&#160;-10)</span>,
        Message.java&#160;<span class="change">(+61&#160;-10)</span>,
        Notify.java&#160;<span class="change">(+38&#160;-11)</span>,
        Order.java&#160;<span class="change">(+36&#160;-29)</span>,
        Product.java&#160;<span class="change">(+50&#160;-32)</span>,
        ProductCategory.java&#160;<span class="change">(+13&#160;-17)</span>,
        Purchase.java&#160;<span class="change">(+20&#160;-11)</span>,
        PurchaseProduct.java&#160;<span class="change">(+2&#160;-6)</span>,
        PurchaseProductId.java&#160;<span class="change">(+1&#160;-5)</span>,
        Supplier.java&#160;<span class="change">(+34&#160;-222)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="2"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-06-11 17:52</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">29</span></span>
  </dt>
  <dd>
    <p class="comment">
-versione aggiornata classi mapping (HibernateMapping)<br />
-esempio di uso di hibernate (con file giusto di configurazione per database in localhost): ProvaWebHibernate, il tutto viene fatto nella classe FakeServlet. quando riceve una richiesta inserisce/aggiorna il contenuto della tabella member_status del db. poi esegue una query HQL (non sql). Con il file xml di congigurazione, hibernate è impostato per stampare le query SQL che esegue verso il db. Le librerie per hibernate (base) sono quelle in WebContent/WEB-INF/lib
    </p>
    <p class="commitdetails"><strong>124</strong> lines of code changed in <span class="files">13 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>HibernateMapping/src/it/polito/ai/lhmf/orm</strong>:
        Log.java&#160;<span class="change">(+5&#160;-1)</span>,
        Member.java&#160;<span class="change">(+28&#160;-24)</span>,
        MemberStatus.java&#160;<span class="change">(+9&#160;-5)</span>,
        MemberType.java&#160;<span class="change">(+9&#160;-5)</span>,
        Message.java&#160;<span class="change">(+5&#160;-1)</span>,
        Notify.java&#160;<span class="change">(+5&#160;-1)</span>,
        Order.java&#160;<span class="change">(+12&#160;-8)</span>,
        Product.java&#160;<span class="change">(+12&#160;-8)</span>,
        ProductCategory.java&#160;<span class="change">(+9&#160;-5)</span>,
        Purchase.java&#160;<span class="change">(+9&#160;-5)</span>,
        PurchaseProduct.java&#160;<span class="change">(+5&#160;-1)</span>,
        PurchaseProductId.java&#160;<span class="change">(+4)</span>,
        Supplier.java&#160;<span class="change">(+12&#160;-8)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="1"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-06-08 19:00</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">26</span></span>
  </dt>
  <dd>
    <p class="comment">

    </p>
    <p class="commitdetails"><strong>1669</strong> lines of code changed in <span class="files">13 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>HibernateMapping/src/it/polito/ai/lhmf/orm</strong>:
        Log.java&#160;<span class="new">(new&#160;79)</span>,
        Member.java&#160;<span class="new">(new&#160;305)</span>,
        MemberStatus.java&#160;<span class="new">(new&#160;66)</span>,
        MemberType.java&#160;<span class="new">(new&#160;66)</span>,
        Message.java&#160;<span class="new">(new&#160;92)</span>,
        Notify.java&#160;<span class="new">(new&#160;79)</span>,
        Order.java&#160;<span class="new">(new&#160;140)</span>,
        Product.java&#160;<span class="new">(new&#160;219)</span>,
        ProductCategory.java&#160;<span class="new">(new&#160;68)</span>,
        Purchase.java&#160;<span class="new">(new&#160;84)</span>,
        PurchaseProduct.java&#160;<span class="new">(new&#160;79)</span>,
        PurchaseProductId.java&#160;<span class="new">(new&#160;64)</span>,
        Supplier.java&#160;<span class="new">(new&#160;328)</span>
      </li>
    </ul>
  </dd>

</dl>

</div><div id="generatedby">Generated by <a href="http://www.statsvn.org">StatSVN</a> 0.7.0</div>
</body>
</html>